package com.lagou.homeWork;

public class NewPhone extends CellPhone implements IPlay {

    // 继承 CellPhone 并且实现 IPlay 接口
    // 重写 call, message, playGame 方法
    @Override
    public void call() {
        System.out.println("NewPhone打电话");
    }

    @Override
    public void message() {
        System.out.println("NewPhone发短信");
    }

    @Override
    public void playGame() {
        System.out.println("NewPhone玩游戏");
    }

}
